cmake_minimum_required(VERSION 3.8)
project(my_vision_interfaces)

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
  add_compile_options(-Wall -Wextra -Wpedantic)
endif()

find_package(ament_cmake REQUIRED)
find_package(rosidl_default_generators REQUIRED)
find_package(geometry_msgs REQUIRED) # 因为我们用到了它的消息

rosidl_generate_interfaces(${PROJECT_NAME}
  "msg/TargetPose.msg"
  DEPENDENCIES geometry_msgs
)

ament_package()
